#!/bin/bash
set -e
LANG=en_US.utf8
LOG_INFO()
{
    local content=${1}
    echo -e "\033[32m[INFO][CITA] ${content}\033[0m"
}

# Stop
LOG_INFO "Stop cita chain"
cd cita_sm2_sm3
bin/cita stop test-chain/0
bin/cita stop test-chain/1
bin/cita stop test-chain/2
bin/cita stop test-chain/3

docker rm -f `docker ps -a | grep cita/cita-run | awk '{print $1}'`
